package com.cloudkinto.service.order.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class OrderTransactionEntity {
    @JsonProperty("id")
    private Long id;
    @JsonProperty("order_id")
    private Long orderId;
    @JsonProperty("kind")
    private String kind;
    @JsonProperty("gateway")
    private String gateway;
    @JsonProperty("status")
    private String status;
    @JsonProperty("message")
    private String message;
    @JsonProperty("created_at")
    private String createdAt;
    @JsonProperty("test")
    private Boolean test;
    @JsonProperty("authorization")
    private String authorization;
    @JsonProperty("location_id")
    private Long locationId;
    @JsonProperty("user_id")
    private Long userId;
    @JsonProperty("parent_id")
    private Long parentId;
    @JsonProperty("processed_at")
    private String processedAt;
    @JsonProperty("device_id")
    private Long deviceId;
    @JsonProperty("error_code")
    private String errorCode;
    @JsonProperty("source_name")
    private String sourceName;
    @JsonProperty("amount")
    private String amount;
    @JsonProperty("currency")
    private String currency;
    @JsonProperty("admin_graphql_api_id")
    private String adminGraphqlApiId;

}
